{include file="./headStart.tpl"}
{include file="./headEnd.tpl"}
<form action="{$smarty.server.PHP_SELF}" name="form" method="POST">
<table border='0' cellpadding='1' cellspacing='2' align='center'>
<tr>
  <td class="table1" align="center" colspan="26"><font style="font-size: 16px"><b>! Complaint call List !</b></font></td>
</tr>
<tr>
  <td class="table1" align="center">&nbsp;</td>
  <td class="table1" align="center">&nbsp;</td>
	<td class="table1" align='center'><B>Customer</td>
	<td class="table1" align='center'><B>Technician </td>
	<td class="table1" align='center'><B>System </td>
	<td class="table1" align='center'><B>Complaint Date</td>
	<td class="table1" align='center'><B>Targate Date </td>
	<td class="table1" align='center'><B>Description </td>
	<td class="table1" align='center'><B>Important Point</td>	
	<td class="table1" align='center'><B>Type Of Call</td>
	<td class="table1" align='center'><B>Service Charge</td>
	<td class="table1" align='center'><B>Remarks</td>
	<td class="table1" align='center'><B>Amount Collected</td>
</tr>
{section name="sec" loop=$complainCallDetailArray}
<tr>
<td class="table2" align="center">
  <a href="complainService.php?complainServiceId={$complainCallDetailArray[sec].complainServiceId}" class="link"><img src="./images/b_edit.png" border="0" width="15" height="15" title="Edit"></a>
</td>
<td>  
	<a href="complainCallListDelete.php?complainServiceId={$complainCallDetailArray[sec].complainServiceId}" class="link" onclick="return confirm('Are You Sure?');"><img src="./images/deleteIcon.png" border="0" width="15" height="15" title="Delete"></a>
</td>
<td class="table2" align="center"> {$complainCallDetailArray[sec].companyName}</td>
<td class="table2" align="center">{$complainCallDetailArray[sec].technicianName}</td>
<td class="table2" align="left" NOWRAP> {$complainCallDetailArray[sec].categoryName}</td>
<td class="table2" align="center"> {$complainCallDetailArray[sec].complainDate}</td>
<td class="table2" align="center"> {$complainCallDetailArray[sec].targetedDate}</td>
<td class="table2" align="left"> {$complainCallDetailArray[sec].description}</td>
<td class="table2" align="left"> {$complainCallDetailArray[sec].importantPoint}</td>
<td class="table2" align="left"> {$complainCallDetailArray[sec].type}</td>
<td class="table2" align="right"> {$complainCallDetailArray[sec].serviceCharge}</td>
<td class="table2" align="left"> {$complainCallDetailArray[sec].remarks}</td>
<td class="table2" align="right"> {$complainCallDetailArray[sec].amountCollected}</td>
{sectionelse}
  <tr><td align="center" colspan="6"> <h2><font color="red"><b>{$msg}</b></font></h2></td></tr>
{/section}
</tr>
</table>
</form>		
{include file="footer.tpl"}